*{
    margin: 0;
    padding: 0;
    box-sizing:border-box
}
/* 统一组件代码 */
input[typr="text"]{
    flex:1;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
/* 伪类：改输入框边框颜色 */ 
&:focus{
    outline: none;
    border-color: #007bff;
}
/* 伪元素：改变输入框palceholder字体颜色 */
 &::placeholder{
   color:#ccc
}
}

button{
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor:pointer;
}
.container{
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.container h3{
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.container .addtask{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.container .search{
    margin-top: 10px;
    margin-bottom: 10px;
}
.container .tasklist li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border: 1ox solid #ccc;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .footer{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 14px;
}
/* 删除线 */
.line{

}